//
//  AppController.h
//  iTunes Playlist Selector
//
//  Created by Keith Duncan on 06/08/2006.
//  Copyright 2006 thirty-three. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "AFLibrary.h"

@class AFSourceNode, AFSourceList;

@interface AppController : NSObject {
	AFLibrary *library;
	
	AFSourceNode *_rootNode;
	
	IBOutlet AFSourceList *sidebar;
	IBOutlet NSPopUpButton *libraryMenuButton;
	
	IBOutlet id playlistsController;
}

@property(readonly, retain) AFSourceNode *rootNode;

- (IBAction)load:(id)sender;

@end

@interface AppController (Delegate) <AFLibraryDelegate>

@end
